﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OneSpider.Models.ResultModel
{
    public class ArticleDetailResult
    {
        [JsonProperty("content_id")]
        public int ContentId { get; set; }

        [JsonProperty("hp_title")]
        public string HpTitle { get; set; }

        [JsonProperty("sub_title")]
        public string SubTitle { get; set; }

        [JsonProperty("hp_author")]
        public string HpAuthor { get; set; }

        [JsonProperty("auth_it")]
        public string AuthIt { get; set; }

        [JsonProperty("hp_author_introduce")]
        public string HpAuthorIntroduce { get; set; }

        [JsonProperty("hp_content")]
        public string HpContent { get; set; }

        [JsonProperty("hp_makettime")]
        public DateTime HpMaketime { get; set; }

        [JsonProperty("hide_flag")]
        public string HideFlag { get; set; }

        [JsonProperty("wb_name")]
        public string WbName { get; set; }

        [JsonProperty("wb_img_url")]
        public string WbImgUrl { get; set; }

        [JsonProperty("last_update_date")]
        public string LastUpdateDate { get; set; }

        [JsonProperty("web_url")]
        public string WebUrl { get; set; }

        [JsonProperty("guide_word")]
        public string GuideWord { get; set; }

        [JsonProperty("audio")]
        public string Audio { get; set; }

        [JsonProperty("anchor")]
        public string Anchor { get; set; }

        [JsonProperty("editor_email")]
        public string EditorEmail { get; set; }

        [JsonProperty("top_media_type")]
        public string TopMediaType { get; set; }

        [JsonProperty("top_media_file")]
        public string TopMediaFile { get; set; }

        [JsonProperty("top_media_image")]
        public string TopMediaImage { get; set; }

        [JsonProperty("start_video")]
        public string StartVideo { get; set; }

        [JsonProperty("copyright")]
        public string Copyright { get; set; }

        //[JsonProperty("author")]
        //public IList<Author> Author { get; set; }

        [JsonProperty("maketime")]
        public string Maketime { get; set; }

        [JsonProperty("author_list")]
        public List<AuthorResult> AuthorList { get; set; }

        [JsonProperty("next_id")]
        public string NextId { get; set; }

        [JsonProperty("previous_id")]
        public string PreviousId { get; set; }

        [JsonProperty("tag_list")]
        public virtual List<TagResult> TagList { get; set; }

        [JsonProperty("praisenum")]
        public int Praisenum { get; set; }

        [JsonProperty("sharenum")]
        public int Sharenum { get; set; }

        [JsonProperty("commentnum")]
        public int Commentnum { get; set; }
    }
}
